package com.example.demoback.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

@Data
public class Item {
    @TableId(type = IdType.AUTO)
    private Integer itemid; // 使用 Integer 而不是 int，避免默认值 0
    private int subcategoryid;
    private int sellerid;
    private String itemname;
    private String brand;
    private String model;
    private String condition;
    private double price;
    private String description;
    private String imageurl;


}
